<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户登入</title>
</head>
<body>
    <form th:action="@{/user/login}" method="post">
        username:<input type="text" name="username"/> <br>
        password:<input type="password" name="password"/> <br>
        <input type="submit" value="登入">
    </form>
    <a th:href="@{/user/register}"><button>立即注册</button></a>
</body>
</html>